class TagController < ApplicationController

  def index
    @tag = Tag.find_by_label(params[:label])
    @tags = Tag.all
    @documents = @tag.documents if @tag.present?
  end
end
